/*
 * @Author: ZhaoZhiqi
 * @Date: 2023-12-14 10:51:27
 * @LastEditors: ZhaoZhiqi
 * @LastEditTime: 2023-12-26 15:10:57
 * @Description: 
 * @FilePath: \lumos-admin\src\components\Search\SearchSelect\index.jsx
 */
import { Select } from '@mantine/core';

export function SearchSelect({ value, onChange, data, placeholder }) {
    return (
        <Select
            allowDeselect={false}
            value={value}
            onChange={(e) => onChange(e)}
            placeholder={placeholder}
            data={data}
        />
    )
}